package org.jcnc.staffingsystem.module;

import javafx.geometry.Pos;
import javafx.scene.Parent;
import javafx.scene.layout.VBox;

public class LoginBox extends VBox {

    public LoginBox() {
        super(20);
        setupUI();
    }

    private void setupUI() {
        setAlignment(Pos.CENTER);
    }

    public void addLoginComponents(TextBox accountTextBox, Parent passwordTextBox, ChoiceBox choiceBox, ButtonHBox buttonHBox) {
        getChildren().addAll(accountTextBox, passwordTextBox, choiceBox, buttonHBox);
    }
}
